<?php
/**
 * Created by PhpStorm.
 * User: zhaox
 * Date: 2018/1/4
 * Time: 15:41
 */
namespace App\Http\Controllers;

use App\Models\Activity;

class HomeController extends Controller {
    public function index(){
        $items = Activity::get();
        return view('pages.home',['items'=>$items]);
    }
    public function test(){
        return view('pages.test');
    }
}
